package com.demo.service;

import com.demo.dao.DogMapper;
import com.demo.model.Dog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Comments：
 * Author：yuxin
 * Create Date：2017-07-13
 * Modified By：
 * Modified Date：
 * Why & What is modified：
 * Version：v1.0
 */
@Service
public class DogService {
    @Autowired
    DogMapper dogMapper;

    public int addDog(Dog dog) {
        return dogMapper.addDog(dog);
    }
}
